export default [
    {
        path: '/main',
        name: 'main',
        component: () => import('@/pages/Main'),
        children: [
            {
                path: 'home',
                name: 'home',
                component: () => import('@/pages/Main/Home')
            },
            {
                path: 'goods',
                name: 'goods',
                component: () => import('@/pages/Main/Goods')
            },
            {
                path: 'user',
                name: 'user',
                component: () => import('@/pages/Main/User')
            },
            {
                path: 'others1',
                name: 'others1',
                component: () => import('@/pages/Main/Others1')
            },
            {
                path: 'others2',
                name: 'others2',
                component: () => import('@/pages/Main/Others2')
            },
            {
                path: '',
                redirect: 'home'
            },
        ]
    },
    {
        path: '/',
        redirect: '/main'
    }
]